import request from '@/utils/request'


/**获取平台卖家销量统计数据 */
export function getSalesVolumeListByPlatform(params) {
  return request({
    url: '/distribution/distributor/getSalesVolumeListByPlatform',
    params
  })
}


/**
 * 查询卖家销量统(P)计饼状图
 * type 1-订单数量 2-快递数量 3-营业额 4-捆包费 5-快递费	
 */
export function getSalesVolumePlatformPie(params) {
  return request({
    url: '/distribution/distributor/getSalesVolumePlatformPie',
    params
  })
}
